package starComponent.utils;


import java.util.Comparator;

import starComponent.elements.A_StarBranch;

/**
 * @author Charles Perin
 * 21 avr. 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 */
public class BranchComparator implements Comparator<A_StarBranch>
{
	public BranchComparator(){
	}

	@Override
	public int compare(A_StarBranch arg0, A_StarBranch arg1) {
		A_StarBranch b1 = (A_StarBranch) arg0;
		A_StarBranch b2 = (A_StarBranch) arg1;

		return b1.compareTo(b2);
	}

}

